$(function(){
    $.ajax({
        url:"http://chst.vip:1234/api/getmoneyctrlproduct",
        data:{
            productid:qr.productid
        },
        success(res){
            let html="";
            let{result}=res
            console.log(result)
            result.forEach((item,index,array)=>{
                html+=`
                <h4>${item.productName}</h4>
                <p>${item.productFrom}丨${item.productTime} ${item.productTips}</p>
                <div class="introduce">
                    <p>
                        ${item.productImg2}
                        ${item.productInfo2}
                    </p>
                    ${item.productImg2}
                    ${item.productCity}
                    <a>前往购买</a>
                    <img class="fr" src="../assets/images/mmbweixin2.png" alt="">
                    <div class="textarea">
                        <textarea></textarea>
                        <div class="submit">
                            <a href="">提交评论</a>
                        </div>
                    </div>
                    ${item.productComment}
                </div>
                `
            })
            $(".content").html(html)
        },
        error(err){
            console.log(err);
        }
    })
})